package com.pinda.service;

import com.pinda.oms.entity.PdOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author lc
 * @since 2023-06-14
 */
public interface IPdOrderService extends IService<PdOrder> {

    /**
     * 提货修改订单状态为运输中
     * @param pdOrder
     * @return
     */
    Boolean orderUpdateByOrderId(PdOrder pdOrder);

    /**
     * 创建订单
     * @param pdOrder
     * @return
     * @throws Exception
     */
    PdOrder saveOrder(PdOrder pdOrder)throws Exception;

    Boolean updataAmountByid(PdOrder order, String id);
}
